From 3dfeb2fd3736ccea4fa224396d192b3501d1ade6 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 2 Feb 2023 12:14:49 +0100 Subject: [PATCH] monitor: Document connector names better --- gdk/gdkmonitor.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gdk/gdkmonitor.c b/gdk/gdkmonitor.c index ccf1d4b8bc..2d6cbb4fde 100644 --- a/gdk/gdkmonitor.c +++ b/gdk/gdkmonitor.c @@ -377,6 +377,10 @@ gdk_monitor_get_height_mm (GdkMonitor *monitor) * * Gets the name of the monitor's connector, if available. * + * These are strings such as "eDP-1", or "HDMI-2". They depend + * on software and hardware configuration, and should not be + * relied on as stable identifiers of a specific monitor. + * * Returns: (transfer none) (nullable): the name of the connector */ const char * -- 2.30.2